<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
 * ----------------------------------------------------------------------------
 * "THE BEER-WARE LICENSE" :
 * <thepixeldeveloper@googlemail.com> wrote this file. As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return Mathew Davies
 * ----------------------------------------------------------------------------
 */

/**
 * Tables.
 **/
$config['tables']['groups'] = 'users_groups';
$config['tables']['users'] = 'users';
$config['tables']['meta'] = 'users_meta';
$config['tables']['logins_attempts'] = 'users_login_attempts';

/**
 * Default group, use name
 */
$config['default_group'] = 'member';
 
/**
 * Meta table column you want to join WITH.
 * Joins from users.id
 **/
$config['join'] = 'user_id';

/**
 * Columns in your meta table,
 * id not required.
 **/
$config['columns'] = array('first_name', 'last_name');

/**
 * A database column which is used to
 * login with.
 **/
$config['identity'] = 'username';

/**
 * Email Activation for registration
 **/
$config['email_activation'] = true;

/**
 * Folder where email templates are stored.
     * Default : redux_auth/
 **/
$config['email_templates'] = 'redux_auth/';

/**
 * Salt Length
 **/
$config['salt_length'] = 10;

/**
 * Logins attempts
 */
$config['count_login_attempts'] = FALSE;
$config['max_login_attempts'] = 5;

/*
|--------------------------------------------------------------------------
| Captcha
|--------------------------------------------------------------------------
|
| You can set catpcha that created by DX Auth library in here.
| 'captcha_directory' = Directory where the catpcha will be created. 
| 'captcha_fonts_path' = Font in this directory will be used when creating captcha.
| 'captcha_font_size' = Font size when writing text to captcha. Leave blank for random font size.
| 'captcha_grid' = Show grid in created captcha.
| 'captcha_expire' = Life time of created captcha before expired, default is 3 minutes (180 seconds).
| 'captcha_expire' = Determine captcha case sensitive or not.
|
*/

$config['captcha_path'] = './captcha/';
$config['captcha_fonts_path'] = $config['captcha_path'].'fonts'; 
$config['captcha_width'] = 150;
$config['captcha_height'] = 40;
$config['captcha_font_size'] = '12'; 
$config['captcha_grid'] = TRUE;
$config['captcha_expire'] = 180; 
$config['captcha_case_sensitive'] = TRUE; 
	
?>